fun main() {
    val regex = """\((.*.png)\)""".toRegex()
    val str = "(2020-06-17-16-07-08.png)".replace(regex) {
        val (img) = it.destructured
        """(res/$img)"""
    }

    println(str)
}